//
//  UIViewController+MBProgressHUD.h
//  AmountBody
//
//  Created by smm on 17/12/6.
//  Copyright © 2017年 RCMTM. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"

@interface UIViewController (MBProgressHUD)<MBProgressHUDDelegate>
-(void)showHUDMessage:(NSString *)message;/**< 短时信息提示框,默认时长1.0秒*/
-(void)showHUDMessage:(NSString *)message andDelay:(NSTimeInterval)delay;/**< 可自定义显示时长的信息提示框*/
-(void)showLoading;/**< 加载框，默认提示信息为"正在加载..."*/
-(void)showLoadingWith:(NSString *)message;/**< 可自定义加载提示信息的加载框*/
-(void)loadSuccess;/**< 加载成功提示框，默认提示信息为"加载成功"*/
-(void)loadSuccessWith:(NSString *)message;/**< 可自定义成功提示信息的提示框*/
-(void)hiddenLoading;

-(void)showdefaultPage:(CGRect)rect  andView:(UIView*)view;
-(void)showPartnerDefaultPage:(CGRect)rect andView:(UIView*)view;


-(void)showLittleDefaultPage:(CGRect)rect andView:(UIView*)view andPointY:(CGFloat)y;
-(void)showLittlePartnerDefaultPage:(CGRect)rect andView:(UIView*)view andPointY:(CGFloat)y;



-(void)hiddendefaultPage;

@end
